package com.flute.haflute.agent.job;

import com.flute.haflute.exception.NoNodeAvailableException;
import com.flute.haflute.jobbox.base.CloudJobConf;

/**
 * JOB上下文策略封装，所有策略实现该接口，通过配置影响系统在JOB调度中非常重要
 */
public interface JobContextStrategy {

	public JobContext getJobContext(CloudJobConf request)
			throws NoNodeAvailableException;

}
